package com.example.hanfu_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("hanfu")
public class Hanfu {
    @TableId(value = "hanfu_id",type = IdType.AUTO)
    private Integer hanfuId; // 编号
    @TableField(value = "hanfu_name")
    private String hanfuName; // 名字
    @TableField(value = "hanfutype_id")
    private Integer hanfuTypeId; // 种类编号
    @TableField(value = "hanfushop_id")
    private Integer hanfuShopId; // 店铺编号
    @TableField(value = "hanfu_image")
    private String hanfuImage; // 图片
    @TableField(value = "hanfu_price")
    private Float hanfuPrice; // 单价
    @TableField(value = "hanfu_inventory")
    private Integer hanfuInventory; // 库存
    @TableField(value = "hanfu_statu")
    private Integer hanfuStatu; // 商品状态
}
